﻿cmake_minimum_required(VERSION 3.22)

file(GLOB_RECURSE SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp 
${CMAKE_SOURCE_DIR}/Arsnova/External/imgui/*.h 
${CMAKE_SOURCE_DIR}/Arsnova/External/imgui/*.cpp)

add_library(arsnova_core ${SRC})

target_include_directories(arsnova_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)

target_link_libraries(arsnova_core PUBLIC arsnova_platform)
